package com.daocao.common.message;

import java.io.Serializable;
import java.util.List;

import com.daocao.common.domain.entity.UmsUserCard;

public class UmsUserCardQueryMessage implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long userId;
    private String correlationId;
    private List<UmsUserCard> umsUserCards;

    // 无参构造函数
    public UmsUserCardQueryMessage() {
    }

    // 全参构造函数
    public UmsUserCardQueryMessage(Long userId, String correlationId, List<UmsUserCard> umsUserCards) {
        this.userId = userId;
        this.correlationId = correlationId;
        this.umsUserCards = umsUserCards;
    }

    // Getter 和 Setter 方法
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCorrelationId() {
        return correlationId;
    }

    public void setCorrelationId(String correlationId) {
        this.correlationId = correlationId;
    }

    public List<UmsUserCard> getUmsUserCards() {
        return umsUserCards;
    }

    public void setUmsUserCards(List<UmsUserCard> umsUserCards) {
        this.umsUserCards = umsUserCards;
    }
    @Override
    public String toString() {
        return "UmsUserCardQueryMessage{" +
                "userId=" + userId +
                ", correlationId='" + correlationId + '\'' +
                ", umsUserCards='" + umsUserCards + '\'' +
                '}';
    }
}